{extend name="public/base"/}
{block name="body"}
<style>
	.shouye{
		padding-top: 2.3em;
		width: 100%;
		height: 900px;
	}
	.shouye .pull-right{
		color:#666;
		margin-top:1em;
	}
</style>
<div class = "shouye" ng-controller = "homeCtl" ng-init = "suggest = true">
<div id="myCarousel" class="carousel slide col-sm-8 col-sm-offset-2 col-xs-12" style = "padding:0">
	<div class="carousel-inner">
		<div class="item active" style="background:#223240">
			<img src="__IMG__/slide1.png" alt="第一张">
		</div>
	</div>
</div>
<!--意见箱-->
<form class = "col-xs-5 col-sm-2 suggest" ng-show = "suggest" action = "">
	<a href = "#" class = "fa fa-times yijianguan" ng-click = "suggest = !suggest"></a>
	<div class = "col-xs-12" style = "padding:1em 0 .3em 0;text-align: center">意见箱</div>
	<textarea rows = "4" class = "form-control col-xs-12"></textarea>
	<div class="col-xs-12"><button class="btn btn-default btn-sm btn-xs center-block" type="submit">提交</button></div>
</form>
<!--意见箱-->
<!--分割线-->
<div class = "col-xs-12 col-sm-8 col-sm-offset-2 fengexian"></div>
<!--分割线-->
<div class = "col-xs-12"><span class = "pull-right">查看更多>></span></div>
<!--瀑布流-->
<div class="col-xs-12" class = "waterfall">
	<div class="waterfall col-xs-12 col-sm-8 col-sm-offset-2" ng-click = "login()">
		<div class="item" ng-repeat = "data in datas">
			<img src="{{data.src}}" />
		</div>
	</div>
</div>
<!--瀑布流-->
<!--查看更多-->
<a class = "col-xs-12" style = "z-index:100" href = "{:url('index/index/moreMember')}">
	<button class = "btn btn-primary center-block">查看更多</button>
</a>
</div>
<!--查看更多-->
{/block}
{block name="script"}
<script>
    app.controller('homeCtl', function($scope){
		$scope.datas = [{'src':'__IMG__/slide1.png'},{'src':'__IMG__/slide3.png'},{'src':'__IMG__/tab1-2.png'},{'src':'__IMG__/tab1-4.png'},{'src':'__IMG__/slide3.png'},{'src':'__IMG__/tab1-2.png'},{'src':'__IMG__/slide1.png'},{'src':'__IMG__/slide3.png'},{'src':'__IMG__/tab1-2.png'},{'src':'__IMG__/slide1.png'}]
		$scope.login = function(){

		}
    });
</script>
{/block}
